package com.example.bankmanage.dto.resq;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@SuppressWarnings("all")
public class BillExcelRespDTO {
    @ExcelProperty("账单编号")
    private String billId;

    @ExcelProperty("账户ID")
    private Long accountId;

    @ExcelProperty("账单类型")
    private String billType;

    @ExcelProperty("金额")
    private BigDecimal amount;

    @ExcelProperty("创建时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date dueDate;

    @ExcelProperty("支付状态")
    private String paymentStatus;

    @ExcelProperty("支付时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date paymentDate;
}
